local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1
L0_1 = {}
L0_1.group_id = 220102001
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1001
L2_1.monster_id = 21010201
L3_1 = {}
L3_1.x = 26.0
L3_1.y = 1.969
L3_1.z = 112.0
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 180.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 1002
L3_1.monster_id = 21010201
L4_1 = {}
L4_1.x = 22.0
L4_1.y = 1.959
L4_1.z = 112.0
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 180.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 1005
L4_1.monster_id = 21010502
L5_1 = {}
L5_1.x = -2.217
L5_1.y = 1.884
L5_1.z = 102.693
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 95.935
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.disableWander = true
L4_1.pose_id = 9003
L5_1 = {}
L5_1.config_id = 1006
L5_1.monster_id = 21030301
L6_1 = {}
L6_1.x = 0.997
L6_1.y = 1.871
L6_1.z = 105.446
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 184.439
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.disableWander = true
L6_1 = {}
L6_1.config_id = 1007
L6_1.monster_id = 21010201
L7_1 = {}
L7_1.x = 3.377
L7_1.y = 1.877
L7_1.z = 103.962
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 239.943
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.disableWander = true
L6_1.pose_id = 9003
L7_1 = {}
L7_1.config_id = 1008
L7_1.monster_id = 21010201
L8_1 = {}
L8_1.x = 1.22
L8_1.y = 1.871
L8_1.z = 100.023
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 337.315
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.disableWander = true
L7_1.pose_id = 9002
L8_1 = {}
L8_1.config_id = 1017
L8_1.monster_id = 21011201
L9_1 = {}
L9_1.x = 24.0
L9_1.y = 1.969
L9_1.z = 113.0
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 180.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 1033
L9_1.monster_id = 21010201
L10_1 = {}
L10_1.x = -5.094
L10_1.y = 1.93
L10_1.z = 112.819
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 300.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.disableWander = true
L9_1.pose_id = 9016
L10_1 = {}
L10_1.config_id = 1034
L10_1.monster_id = 21011002
L11_1 = {}
L11_1.x = -8.27
L11_1.y = 1.886
L11_1.z = 93.744
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.disableWander = true
L10_1.pose_id = 9003
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1003
L2_1.gadget_id = 70350025
L3_1 = {}
L3_1.x = 13.979
L3_1.y = 10.467
L3_1.z = 106.173
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 90.0
L3_1.z = 180.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 1004
L3_1.gadget_id = 70350005
L4_1 = {}
L4_1.x = -12.982
L4_1.y = 0.07
L4_1.z = 110.956
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 359.243
L4_1.y = 90.0
L4_1.z = 0.014
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 1011
L4_1.gadget_id = 70310004
L5_1 = {}
L5_1.x = 0.686
L5_1.y = 1.894
L5_1.z = 103.015
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L5_1 = {}
L5_1.config_id = 1012
L5_1.gadget_id = 70220013
L6_1 = {}
L6_1.x = -8.155
L6_1.y = 1.856
L6_1.z = 92.545
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 1013
L6_1.gadget_id = 70220013
L7_1 = {}
L7_1.x = -9.891
L7_1.y = 1.852
L7_1.z = 93.63
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 1014
L7_1.gadget_id = 70220014
L8_1 = {}
L8_1.x = -4.515
L8_1.y = 1.943
L8_1.z = 90.101
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 1015
L8_1.gadget_id = 70220014
L9_1 = {}
L9_1.x = 10.023
L9_1.y = 1.905
L9_1.z = 113.113
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 1016
L9_1.gadget_id = 70220013
L10_1 = {}
L10_1.x = 8.245
L10_1.y = 1.911
L10_1.z = 114.602
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 1018
L10_1.gadget_id = 70211101
L11_1 = {}
L11_1.x = 9.156
L11_1.y = 1.888
L11_1.z = 116.16
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 210.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 11
L10_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\146\131\230\156\136"
L10_1.isOneoff = true
L10_1.persistent = true
L11_1 = {}
L11_1.config_id = 1019
L11_1.gadget_id = 70220014
L12_1 = {}
L12_1.x = 9.707
L12_1.y = 1.892
L12_1.z = 114.111
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 1020
L12_1.gadget_id = 70220026
L13_1 = {}
L13_1.x = 8.931
L13_1.y = 1.902
L13_1.z = 90.284
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 1021
L13_1.gadget_id = 70220026
L14_1 = {}
L14_1.x = -7.428
L14_1.y = 1.888
L14_1.z = 91.116
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 1022
L14_1.gadget_id = 70211101
L15_1 = {}
L15_1.x = -9.533
L15_1.y = 6.116
L15_1.z = 25.822
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 345.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 11
L14_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\146\131\230\156\136"
L14_1.isOneoff = true
L14_1.persistent = true
L15_1 = {}
L15_1.config_id = 1023
L15_1.gadget_id = 70220013
L16_1 = {}
L16_1.x = -10.884
L16_1.y = 6.132
L16_1.z = 28.489
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L16_1.config_id = 1024
L16_1.gadget_id = 70220014
L17_1 = {}
L17_1.x = -12.359
L17_1.y = 6.145
L17_1.z = 28.556
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L17_1.config_id = 1025
L17_1.gadget_id = 70220013
L18_1 = {}
L18_1.x = -10.081
L18_1.y = 6.169
L18_1.z = 30.4
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L18_1.config_id = 1027
L18_1.gadget_id = 70220026
L19_1 = {}
L19_1.x = -32.523
L19_1.y = 6.11
L19_1.z = 26.649
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L19_1 = {}
L19_1.config_id = 1028
L19_1.gadget_id = 70220013
L20_1 = {}
L20_1.x = -31.388
L20_1.y = 6.11
L20_1.z = 25.267
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 0.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L20_1.config_id = 1035
L20_1.gadget_id = 70900201
L21_1 = {}
L21_1.x = -22.449
L21_1.y = -0.124
L21_1.z = 111.29
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 0.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L21_1 = {}
L21_1.config_id = 1038
L21_1.gadget_id = 70900201
L22_1 = {}
L22_1.x = -22.538
L22_1.y = 9.607
L22_1.z = 54.492
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L22_1 = {}
L22_1.config_id = 1039
L22_1.gadget_id = 70220004
L23_1 = {}
L23_1.x = 1.567
L23_1.y = 1.0
L23_1.z = 123.526
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 0.0
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 35
L23_1 = {}
L23_1.config_id = 1040
L23_1.gadget_id = 70220004
L24_1 = {}
L24_1.x = 7.971
L24_1.y = 1.009
L24_1.z = 123.433
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 0.0
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 35
L24_1 = {}
L24_1.config_id = 1041
L24_1.gadget_id = 70220004
L25_1 = {}
L25_1.x = 7.099
L25_1.y = 1.93
L25_1.z = 94.859
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 0.0
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 35
L25_1 = {}
L25_1.config_id = 1042
L25_1.gadget_id = 70220004
L26_1 = {}
L26_1.x = 2.701
L26_1.y = 1.962
L26_1.z = 114.841
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 0.0
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 35
L26_1 = {}
L26_1.config_id = 1043
L26_1.gadget_id = 70220004
L27_1 = {}
L27_1.x = 6.391
L27_1.y = 1.867
L27_1.z = 102.328
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 0.0
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 35
L27_1 = {}
L27_1.config_id = 1044
L27_1.gadget_id = 70220004
L28_1 = {}
L28_1.x = -12.965
L28_1.y = 1.931
L28_1.z = 81.141
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 0.0
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 35
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
L1_1[21] = L22_1
L1_1[22] = L23_1
L1_1[23] = L24_1
L1_1[24] = L25_1
L1_1[25] = L26_1
L1_1[26] = L27_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1036
L3_1 = RegionShape
L3_1 = L3_1.CUBIC
L2_1.shape = L3_1
L3_1 = {}
L3_1.x = 20.0
L3_1.y = 10.0
L3_1.z = 2.0
L2_1.size = L3_1
L3_1 = {}
L3_1.x = -22.75
L3_1.y = 2.952
L3_1.z = 128.2
L2_1.pos = L3_1
L3_1 = {}
L3_1.config_id = 1037
L4_1 = RegionShape
L4_1 = L4_1.CUBIC
L3_1.shape = L4_1
L4_1 = {}
L4_1.x = 15.0
L4_1.y = 10.0
L4_1.z = 10.0
L3_1.size = L4_1
L4_1 = {}
L4_1.x = -23.042
L4_1.y = 1.812
L4_1.z = 110.361
L3_1.pos = L4_1
L1_1[1] = L2_1
L1_1[2] = L3_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1001009
L2_1.name = "ANY_MONSTER_DIE_1009"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1009"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_1009"
L3_1 = {}
L3_1.config_id = 1001010
L3_1.name = "ANY_MONSTER_DIE_1010"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1010"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_1010"
L4_1 = {}
L4_1.config_id = 1001036
L4_1.name = "ENTER_REGION_1036"
L5_1 = EventType
L5_1 = L5_1.EVENT_ENTER_REGION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ENTER_REGION_1036"
L4_1.action = "action_EVENT_ENTER_REGION_1036"
L5_1 = {}
L5_1.config_id = 1001037
L5_1.name = "ENTER_REGION_1037"
L6_1 = EventType
L6_1 = L6_1.EVENT_ENTER_REGION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ENTER_REGION_1037"
L5_1.action = "action_EVENT_ENTER_REGION_1037"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 1001
L5_1 = 1002
L6_1 = 1017
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 1003
L5_1 = 1004
L6_1 = 1011
L7_1 = 1012
L8_1 = 1013
L9_1 = 1014
L10_1 = 1015
L11_1 = 1016
L12_1 = 1018
L13_1 = 1019
L14_1 = 1020
L15_1 = 1021
L16_1 = 1022
L17_1 = 1023
L18_1 = 1024
L19_1 = 1025
L20_1 = 1027
L21_1 = 1028
L22_1 = 1039
L23_1 = 1040
L24_1 = 1041
L25_1 = 1042
L26_1 = 1043
L27_1 = 1044
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L3_1[19] = L22_1
L3_1[20] = L23_1
L3_1[21] = L24_1
L3_1[22] = L25_1
L3_1[23] = L26_1
L3_1[24] = L27_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 1036
L5_1 = 1037
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_1009"
L5_1 = "ENTER_REGION_1036"
L6_1 = "ENTER_REGION_1037"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 1005
L6_1 = 1006
L7_1 = 1007
L8_1 = 1008
L9_1 = 1033
L10_1 = 1034
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_1010"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1009 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 220102001
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 220102001
  L5_2 = 1003
  L6_2 = GadgetState
  L6_2 = L6_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_1009 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1010 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 220102001
  L5_2 = 1004
  L6_2 = GadgetState
  L6_2 = L6_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_1010 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 1036 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_1036 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 1035
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_1036 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 1037 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_1037 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 1035
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 1038
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 220102002
  L5_2 = 2011
  L6_2 = GadgetState
  L6_2 = L6_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 220102002
  L5_2 = 2002
  L6_2 = GadgetState
  L6_2 = L6_2.GearAction2
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_1037 = L1_1
